//
//  ChainDBManager.h
//  Chain
//
//  Created by zhaosh on 2018/4/4.
//  Copyright © 2018年 zhaosh. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ChainSearchHistoryItem.h"

@interface ChainDBManager : NSObject

+(instancetype)shareClient;
-(BOOL)deleteNewsSearchHistoryById:(NSString *)_id;
-(NSString *)getFileTypeByExtension:(NSString *)extension;
-(NSArray<ChainSearchHistoryItem *> *)fetchNewsSearchHistory;
-(BOOL)deleteAllNewsSearchHistory;
-(BOOL)saveNewsHistoryWithTitle:(NSString *)titlename;
@end
